package net.mysoft.budgetsoft.system.pagemodel;

import java.util.Locale;

import net.mysoft.framework.i18n.Locales;

/**   
 *  
 * @author dagongPGP v1.0 
 * @link <a href=http://www.dagongsoft.net>北京大公信软科技有限公司</a> 
 *  
 * @version $Revision: 1.00  $Date: 2013-07-23 11:37:31 
 */

public class FlowTemplate_YeWuZL implements java.io.Serializable {

	private String ids;
	private int page;// 当前页
	private int rows;// 每页显示记录数
	private String sort;// 排序字段名
	private String order;// 按什么排序(asc,desc)
	  
    private String flowTemplate_YeWuZL_ID;
    private String ftl_IDs;
    private String yeWuZLBHs;
    private String ftl_ID;
    private String yeWuZLBH;
	private String ftc_ID;
	private String ftc_Name_cn;
	private String ftc_Name_en;
	private String ftl_Name_cn;
	private String ftl_Name_en;
	public String getFtc_Name(){
    	Locale locale = Locales.getLocale();
    	return Locale.CHINA.equals(locale)?this.ftc_Name_cn:this.ftc_Name_en;
	}
	public String getFtl_Name(){
    	Locale locale = Locales.getLocale();
    	return Locale.CHINA.equals(locale)?this.ftl_Name_cn:this.ftl_Name_en;
	}

	public String getFtl_IDs() {
		return ftl_IDs;
	}
	public void setFtl_IDs(String ftl_IDs) {
		this.ftl_IDs = ftl_IDs;
	}
	public String getYeWuZLBHs() {
		return yeWuZLBHs;
	}
	public void setYeWuZLBHs(String yeWuZLBHs) {
		this.yeWuZLBHs = yeWuZLBHs;
	}
	public String getFtl_ID() {
		return ftl_ID;
	}

	public void setFtl_ID(String ftl_ID) {
		this.ftl_ID = ftl_ID;
	}

	public String getFtc_ID() {
		return ftc_ID;
	}

	public void setFtc_ID(String ftc_ID) {
		this.ftc_ID = ftc_ID;
	}

	public String getFtc_Name_cn() {
		return ftc_Name_cn;
	}

	public void setFtc_Name_cn(String ftc_Name_cn) {
		this.ftc_Name_cn = ftc_Name_cn;
	}

	public String getFtc_Name_en() {
		return ftc_Name_en;
	}

	public void setFtc_Name_en(String ftc_Name_en) {
		this.ftc_Name_en = ftc_Name_en;
	}

	public String getFtl_Name_cn() {
		return ftl_Name_cn;
	}

	public void setFtl_Name_cn(String ftl_Name_cn) {
		this.ftl_Name_cn = ftl_Name_cn;
	}

	public String getFtl_Name_en() {
		return ftl_Name_en;
	}

	public void setFtl_Name_en(String ftl_Name_en) {
		this.ftl_Name_en = ftl_Name_en;
	}

	public String getIds() {
		return ids;
	}

	public void setIds(String ids) {
		this.ids = ids;
	}
	
	public int getPage() {
		return page;
	}

	public void setPage(int page) {
		this.page = page;
	}

	public int getRows() {
		return rows;
	}

	public void setRows(int rows) {
		this.rows = rows;
	}

	public String getSort() {
		return sort;
	}

	public void setSort(String sort) {
		this.sort = sort;
	}

	public String getOrder() {
		return order;
	}

	public void setOrder(String order) {
		this.order = order;
	}
	
    public String getFlowTemplate_YeWuZL_ID(){
    	return this.flowTemplate_YeWuZL_ID;
    }
    
    public void setFlowTemplate_YeWuZL_ID(String flowTemplate_YeWuZL_ID){
    	this.flowTemplate_YeWuZL_ID = flowTemplate_YeWuZL_ID;
    }
    
    public String getYeWuZLBH(){
    	return this.yeWuZLBH;
    }
    
    public void setYeWuZLBH(String yeWuZLBH){
    	this.yeWuZLBH = yeWuZLBH;
    }
    
	
    @Override
    public int hashCode() {
    	int prime = 0;
        prime +=this.getFlowTemplate_YeWuZL_ID().hashCode();
        return prime;
    }

    @Override
    public boolean equals(Object obj) {
    	boolean isEquals = false;
    	if(obj!=null&&this.getClass()==obj.getClass()){
    		FlowTemplate_YeWuZL clazz = (FlowTemplate_YeWuZL)obj;
            if(clazz.getFlowTemplate_YeWuZL_ID().equals(this.getFlowTemplate_YeWuZL_ID()))
            	isEquals = true;
    		return isEquals;
    	}
        return isEquals;
    }

}